package mac

import (
	. "go-demo/designpattern/factory/abstractfactory/ui/factory"
)

// mac 工厂
type MacFactory struct {
}

// CreateButton 创建mac按钮
func (w *MacFactory) CreateButton() Button {
	return &MacButton{}
}

// CreateTextField 创建mac文本框
func (w *MacFactory) CreateTextField() TextField {
	return &MacTextField{}
}

// CreateComboBox 创建mac下拉框
func (w *MacFactory) CreateComboBox() ComboBox {
	return &MacComboBox{}
}
